<?php

namespace app\admin\model;

use think\Model;

/**
 * UserGroup 模型
 */
class AreaWx extends Model
{   
    // 表主键
    protected $pk = 'areaid';

    // 表名
    protected $name = 'area_wx';
    protected $autoWriteTimestamp = false;

    public static function getList($pid = 0){
            return self::where("parentid",$pid)->select();
    }
}